Skip to content

fix creating a CacheKernel in HTTP cache documentation #9222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

fix creating a CacheKernel in HTTP cache documentation #9222

wants to merge 1 commit into from

Conversation

danrot
Copy link
Contributor

@danrot danrot commented Feb 7, 2018

Hey, I was trying out to use the HTTP Cache for a talk and lecture I am giving, and with the instructions in the HTTP Cache documentation I only got an error that the class was not found. The changes I introduced here were also necessary. However, I am not completely sure if I missed something else, since I just skimmed the documentation, but I thought I send a PR anyway so that you see what I am talking about 😃

@javiereguiluz
Copy link
Member

@danrot thanks for fixing this! Your changes are perfectly fine, because even in this very same article we show the namespace App in another example of CacheKernel, so this was definitely a bug. I've merged it on the 4.0 branch (which is the oldest maintained branch that contains the bug) so GitHub displays it as "closed" instead of "merged" ... but it's merged.

javiereguiluz added a commit that referenced this pull request Feb 8, 2018
…anrot)

This PR was submitted for the master branch but it was merged into the 4.0 branch instead (closes #9222).

Discussion
----------

fix creating a CacheKernel in HTTP cache documentation

Hey, I was trying out to use the HTTP Cache for a talk and lecture I am giving, and with the instructions in the HTTP Cache documentation I only got an error that the class was not found. The changes I introduced here were also necessary. However, I am not completely sure if I missed something else, since I just skimmed the documentation, but I thought I send a PR anyway so that you see what I am talking about 😃

Commits
-------

cc09426 fix creating a CacheKernel in HTTP cache documentation
javiereguiluz added a commit that referenced this pull request Feb 8, 2018
…uiluz)

This PR was merged into the 4.0 branch.

Discussion
----------

Added a missin namespace in CacheKernel example

This finishes #9222 adding a missing `namespace App` in a `CacheKernel` example.

Commits
-------

e9b0a12 Added a missin namespace in CacheKernel example
@danrot danrot deleted the setup-http-cache branch February 8, 2018 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants